{include file="public/header" /}
<!-- banner 开始 -->
{notempty name="$setting['index_banner']"}
	<div class="banner" style="background:#393D49">
	<div class="main index_main">
		<img class="banner_pic" src="{$setting.index_banner}" alt="banner">
	</div>
	</div>
{/notempty}
<!-- banner 结束 -->
<!--广告-->
<!--广告结束-->
<div class="fill_1"></div>
<!-- 文章 开始 -->
<div class="main index_main">
	<div class="page_left">	
	<ul class="page_left_list">
		<!--推荐文章-->
		{notempty name="$recommend_list"}
			{volist name="recommend_list" id="vo"}
				<li class='{empty name="vo['image_url']"}no_pic{/empty}'>
					{notempty name="vo['image_url']"}
						<a href="{$vo['url']}" class="pic">
							<img class="lazy" lay-src="{$vo['image_url']}" alt="{$vo['title']}">
						</a>
					{/notempty}
					<h2 class="title">
						<a href="{$vo['url']}">{if $vo['is_top']==1}<span class="top">置顶</span>{/if}{$vo['title']}</a>
					</h2>
					<div class="date_hits">
						<span>{$vo['create_time']|format_datetime}</span>
						<span>
							<a href="{$vo.category_url}">{$vo.category_name}</a>
						</span>
						<span class="hits"><i class="layui-icon" title="点击量">&#xe62c;</i> {$vo['hits']} ℃</span>
						<p class="commonts"><i class="layui-icon" title="评论量">&#xe63a;</i>
							<span id = "sourceId::{$vo.id}" class = "cy_cmt_count" ></span>
                                           <script id="cy_cmt_num" src="http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cytSQXJ7n"></script>

						</p>
					</div>
					<div class="desc">{$vo['description']}</div>
				</li>
			{/volist}
		{/notempty}
		<!--推荐文章end-->
	</ul>
	</div>
	<div class="page_right">

		<div class="about_stationmaster_container">
			<h3>博主信息</h3>
			<ol class="page_right_list trans_3">
				<li>昵称：{$setting['stationmaster_info']['stationmaster_name']}</li>
				<li>职业：{$setting['stationmaster_info']['stationmaster_occupation']}</li>
				<li>Q Q: {$setting['stationmaster_info']['stationmaster_qq']}</li>
			</ol>
		</div>

		{notempty name="$new_list"}
			<div class="new_list">
				<h3>最新文章</h3>
				<ol class="page_right_list trans_3">
					{volist name="$new_list" id='new'}
						<li><a href="{$new.url}">{$new.title}</a><span class="hits"> {$new.hits} ℃ </span></li>
					{/volist}
				</ol>
			</div>
		{/notempty}
		{notempty name="$hot_list"}
			<div class="hot_list">
				<h3>最近热文</h3>
				<ol class="page_right_list trans_3">
					{volist name="hot_list" id="vo"}
					<li><a href="{$vo['url']}">{$vo['title']}</a><span class="hits"> {$vo['hits']} ℃ </span></li>
					{/volist}
				</ol>
			</div>
		{/notempty}
		{notempty name="$setting['links']"}
			<h3>友情连接</h3>
			<div class="links trans_3">
				{volist name="$setting['links']" id="vo"}
					<a href="{$vo.link_url}" target="_blank">{$vo.name}</a>
				{/volist}
			</div>
		{/notempty}
	</div>
	<div class="clear"></div>
</div>
<!-- 文章 结束 -->
{include file="public/footer" /}
